<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>

<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <style type="text/css">
        <!--
        body {
            margin-left: 3px;
            margin-top: 0px;
            margin-right: 3px;
            margin-bottom: 0px;
        }

        .STYLE1 {
            color: #e1e2e3;
            font-size: 12px;
        }

        .STYLE6 {
            color: #000000;
            font-size: 12;
        }

        .STYLE10 {
            color: #000000;
            font-size: 12px;
        }

        .STYLE19 {
            color: #344b50;
            font-size: 12px;
        }

        .STYLE21 {
            font-size: 12px;
            color: #3b6375;
        }

        .STYLE22 {
            font-size: 12px;
            color: #295568;
        }

        a:link {
            font-size: 12px;
            text-decoration: none;
            color: #344b50;
        }

        a:visited {
            font-size: 12px;
            text-decoration: none;
            color: #344b50;
        }

        a:hover {
            font-size: 12px;
            text-decoration: none;
            color: #FF0000;
        }

        -->
    </style>
    <script>
        var highlightcolor = '#d5f4fe';
        //此处clickcolor只能用win系统颜色代码才能成功,如果用#xxxxxx的代码就不行,还没搞清楚为什么:(
        var clickcolor = '#51b2f6';

    </script>
    <script type="text/javascript" src="<%=path %>/My97DatePicker/WdatePicker.js"></script>
</head>

<body>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
        <td height="30">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                    <td height="24" bgcolor="#353c44">
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td>
                                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                        <tr>
                                            <td width="6%" height="19" valign="bottom">
                                                <div align="center">
                                                    <img src="images/tb.gif" width="14" height="14"/>
                                                </div>
                                            </td>
                                            <td width="94%" valign="bottom">
                                                <span class="STYLE1">学生分数排名</span>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                                <td>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td>
            <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#a8c7ce" onmouseover="changeto()"
                   onmouseout="changeback()">
                <tr>
                    <td width="10%" height="20" bgcolor="d3eaef" class="STYLE6">
                        <div align="center">
                            <span class="STYLE10">姓名</span>
                        </div>
                    </td>
                    <td width="10%" height="20" bgcolor="d3eaef" class="STYLE6">
                        <div align="center">
                            <span class="STYLE10">性别</span>
                        </div>
                    </td>
                    <td width="10%" height="20" bgcolor="d3eaef" class="STYLE6">
                        <div align="center">
                            <span class="STYLE10">年龄</span>
                        </div>
                    </td>
                    <td width="10%" height="20" bgcolor="d3eaef" class="STYLE6">
                        <div align="center">
                            <span class="STYLE10">分数</span>
                        </div>
                    </td>
                    <td width="10%" height="20" bgcolor="d3eaef" class="STYLE6">
                        <div align="center">
                            <span class="STYLE10">排名</span>
                        </div>
                    </td>
                </tr>
                <s:iterator value="#request.rankList" id="rank" status="status">
                    <tr>
                        <td width="10%" height="20" bgcolor="#FFFFFF" class="STYLE6">
                            <div align="center">
                                <span class="STYLE10"><s:property value="#rank.stuRealname"/></span>
                            </div>
                        </td>
                        <td width="10%" height="20" bgcolor="#FFFFFF" class="STYLE6">
                            <div align="center">
                                <span class="STYLE10"><s:property value="#rank.stuSex"/></span>
                            </div>
                        </td>
                        <td width="10%" height="20" bgcolor="#FFFFFF" class="STYLE6">
                            <div align="center">
                                <span class="STYLE10"><s:property value="#rank.stuAge"/></span>
                            </div>
                        </td>
                        <td width="10%" height="20" bgcolor="#FFFFFF" class="STYLE6">
                            <div align="center">
                                <span class="STYLE10"><s:property value="#rank.score"/></span>
                            </div>
                        </td>
                        <td width="10%" height="20" bgcolor="#FFFFFF" class="STYLE6">
                            <div align="center">
                                <span class="STYLE10"><s:property value="#status.index+1"/></span>
                            </div>
                        </td>
                    </tr>
                </s:iterator>
            </table>
        </td>
    </tr>
</table>
</body>
</html>
